package com.tl.boot.mapper.resource;

import com.tl.boot.entity.permission.domain.ResourceInfo;
import com.tl.boot.entity.permission.vo.ListResourceInfoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * com.tl.boot.mapper.resource -- ResourceMapper
 * Description:
 * Created by joshua_liu <a href="mailto:joshualwork@163.com"></a>
 * On 2019/9/19 10:20
 */
public interface ResourceMapper {
    List<ListResourceInfoVO> listResourceInfo(ResourceInfo resourceInfo);

    void insertResourceInfo(ResourceInfo resourceInfo);

    void delResourceInfo(@Param("resId") Long resId);

    ResourceInfo queryResourceInfo(@Param("resId") Long resId);

    void updateResourceInfo(ResourceInfo resourceInfo);
}
